gnttab: fix "don't use possibly unbounded tail calls"
authorJan Beulich <jbeulich@suse.com>
Mon, 21 Aug 2017 13:43:36 +0000 (15:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 21 Aug 2017 13:43:36 +0000 (15:43 +0200)
commitca617570542e1d7d8de636d5396959bbf1dabab7
tree784dce7037e62ec7a32d7e94a5a10c5c045e291a
parent82d510c88dc12c8aa31aa97bab633b922737bdf4
gnttab: fix "don't use possibly unbounded tail calls"

The compat mode code also needs adjustment to deal with the changed
return value from gnttab_copy().

This is part of XSA-226.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/compat/grant_table.c